package com.kayt.cyberBar.cpublic.business.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cpublic.business.entity.req.vo.PublicTaskLevelReqVO;
import com.kayt.cyberBar.cpublic.business.entity.rsp.vo.PublicTaskLevelRspVO;

@Path("/taskLevel")
public interface IPublicTaskLevelService {
	@GET
	@Path("getTaskLevelList.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<PageData<PublicTaskLevelRspVO>> getTaskLevelList();

	@POST
	@Path("addTaskLevel.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<PublicTaskLevelRspVO> addTaskLevel(PublicTaskLevelReqVO roleReqVO);
	
	@POST
	@Path("updateTaskLevel.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<PublicTaskLevelRspVO> updateTaskLevel(PublicTaskLevelReqVO roleReqVO);
	
	@GET
	@Path("deleteTaskLevel.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<String> deleteTaskLevel(@QueryParam("id")String roleId);
}
